package com.wx.mall.user.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 任务奖励实体
 * </p>
 *
 * @author ljl
 * @since 2020-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("usr_task_reward")
@ApiModel(value="TaskReward对象", description="")
public class TaskReward implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "任务奖励编号")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "新手欢迎奖励值")
    private Integer welcome;

    @ApiModelProperty(value = "设置头像奖励值")
    private Integer headPortrait;

    @ApiModelProperty(value = "设置昵称奖励值")
    private Integer nickname;

    @ApiModelProperty(value = "完善个人信息奖励值")
    private Integer personalDetails;

    @ApiModelProperty(value = "成功关注1个达人奖励值")
    private Integer firstAttention;

    @ApiModelProperty(value = "首次分享商品或专题奖励值")
    private Integer firstShare;

    @ApiModelProperty(value = "首次收藏商品或专题奖励值")
    private Integer firstEnshrine;

    @ApiModelProperty(value = "首次购物成功奖励值")
    private Integer firstShopping;

    @ApiModelProperty(value = "首次完成评价奖励值")
    private Integer firstEvaluate;

    @ApiModelProperty(value = "每日登录奖励值")
    private Integer login;

    @ApiModelProperty(value = "每日签到奖励值")
    private Integer signIn;

    @ApiModelProperty(value = "分享商品或专题奖励值")
    private Integer share;

    @ApiModelProperty(value = "邀请好友奖励值")
    private Integer invite;

    @ApiModelProperty(value = "好友首次下单成功奖励值")
    private Integer friendsFirstOrder;

    @ApiModelProperty(value = "购买天数达标奖励值")
    private Integer minPurchaseDays;

    @ApiModelProperty(value = "连续签到奖励值")
    private Integer continuousSignIn;

    @ApiModelProperty(value = "额外奖励值")
    private Integer continuousSignInExtra;

    @ApiModelProperty(value = "每1分所需购物消费值")
    private BigDecimal shoppingConsumption;

    @ApiModelProperty(value = "最低商品单价值")
    private BigDecimal minCommodityPrice;

    @ApiModelProperty(value = "最低订单实际支付金额值")
    private BigDecimal minActualPayment;

    @ApiModelProperty(value = "单件商品最高可获得奖励值")
    private Integer maxSingleCommodity;


}
